@echo off
tasklist|find "gvim.exe"
if "%errorlevel%"=="0" (goto FIND) else (goto NOT_FIND)
pause

:FIND
start /b d:\common-tools\vim80\gvim.exe --servername Felix -p --remote-tab-silent "%*"
exit

:NOT_FIND
if {%1}=={} (goto noparms) else (goto params)
pause

:noparms
start /b d:\common-tools\vim80\gvim.exe --servername Felix 
exit

:params
start /b d:\common-tools\vim80\gvim.exe --servername Felix "%~f1" 
exit

